<script>
    import { count } from '../store/index'
    function jian() {
        count.update(n => n-1)
    }
</script>


<button on:click={jian}>
    减
</button>